package com.PAT.UnSatisfying;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: zjz
 * @Date: 2022/02/14/18:38
 * @Description:
 * @Target: 差2
 */
public class 科学计数法 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String ss1 = in.nextLine();
        char c = ss1.charAt(0);
        String substring = ss1.substring(1, ss1.length());
        String[] es = substring.split("E");  // es[0]是E前面的 es[1]是E后面的
        String[] split = es[0].split("\\.");  // split[0]是。前面的  split[1]是。到E之間的
        int i1 = Integer.valueOf(es[1].substring(1,es[1].length()));  // 記錄E后面的數字

        if (c=='+'){
        }else {
            System.out.print("-");
        }

        if (es[1].charAt(0)=='+'){
            if (split[1].length()<=i1){
                System.out.print(split[0]);
                System.out.print(split[1]);
                OutZero(i1-split[1].length());
            }else {
                System.out.print(split[0]);
                for (int i = 0; i < i1; i++) {
                    System.out.print(split[1].charAt(i));
                }
                System.out.print(".");
                for (int i = i1; i < split[1].length(); i++) {
                    System.out.print(split[1].charAt(i));
                }
            }
        }else {
            if (split[0].length()<=i1){
                System.out.print("0");
                System.out.print(".");
                OutZero(i1-split[0].length());
                System.out.print(split[0]);
                System.out.print(split[1]);

            }else {

                for (int i = 0; i < split[0].length()-i1; i++) {
                    System.out.print(split[0].charAt(i));
                }
                System.out.print(".");
                for (int i = split[0].length()-i1; i < split[0].length(); i++) {
                    System.out.print(split[0].charAt(i));
                }
                System.out.print(split[1]);

            }
        }


    }

    static void OutZero(int n){
        for (int i = 0; i < n; i++) {
            System.out.print("0");
        }
    }
}
